<template>
    <el-form-item label="创意形式" prop="creative_way" :rules="{required: true, message: '请选择', trigger: ['blur', 'change']}">
        <el-checkbox-group v-model="createform.creative_way" @change="changeCreativeWay2" size="medium" v-if="createform.lab_ad_type=='LAB_AD'">
            <el-checkbox-button label="LIVE">直播间画面</el-checkbox-button>
            <el-checkbox-button label="VIDEO">视频</el-checkbox-button>
        </el-checkbox-group>
        <el-radio-group v-model="createform.creative_way" size="small" @change="changeCreativeWay" v-else>
            <el-radio-button label="LIVE">直播间画面</el-radio-button>
            <el-radio-button label="VIDEO">视频</el-radio-button>
        </el-radio-group>
    </el-form-item>
</template>

<script>
export default {
    props: ["createform"],
    name: "",
    data() {
        return {};
    },
    created() {},
    methods: {
        changeCreativeWay() {
            this.$emit("changeCreativeWay");
        },

        changeCreativeWay2() {
            this.$emit("changeCreativeWay2");
        },
    },
    components: {},
};
</script>


<style scoped>
</style>

